/**
 * @param {number} n
 * @param {number[][]} queries
 * @return {number}
 */
var matrixSumQueries = function (n, queries) {
  let sum = 0
  // let grid = new Array(n).fill(0).map(()=>new Array(n).fill(0))
  for(let i=0;i<queries.length;i++){
    if(queries)
  }
};